﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace logicunivesityinventorystore
{
    public class OrderItem
    {
     public string ItemCode
     {get;set;}
    public string Category
     { get; set; }
    public string ItemName
    { get; set; }
    public int Quantity
    { get; set; }
    public OrderItem(string itemcode,string categoryName,string itemName,int qty)
    {
        this.ItemCode = itemcode;
        this.Category = categoryName;
        this.ItemName = itemName;
        this.Quantity = qty;
    }

    public OrderItem(string itemcode, int qty)
    {
        this.ItemCode = itemcode;
        this.Quantity = qty;
    }
        public bool Equals(OrderItem order)
        {
            return order.ItemCode == this.ItemCode;
        }

        //public int FindItems(OrderItem orderitem)
        //{
 
        //}
    }
}